from random import *

seed(456)
print(randint(1, 9))

seed(452)
print(randint(1, 9))

seed(456)
print(randint(1, 9))